add_library(dateBase dateBase.cpp)
target_link_libraries(dateBase log socket hiredis_static)
target_include_directories(dateBase INTERFACE ${PROJECT_SOURCE_DIR}/hiredis-1.1.0)
set_target_properties(dateBase PROPERTIES OUTPUT_NAME "dateBase")
add_subdirectory(test)
